/**
 * @author David Young
 */
package csab.core.utility;

/**
 * A type designed to handle the transmission of
 * messages from Observable objects to Observer
 * objects.
 * @author David Young
 */
public class ObserverMessage {
	private String message;
	/**
	 * Constructor for this class.
	 * @param message The message to store
	 * within this object.
	 */
	public ObserverMessage(String message)
	{
		this.message = message;
	}
	
	/**
	 * Retrieve the message of this ObserverMessage object.
	 * @return The message held by this object.
	 */
	public String getMessage()
	{
		return message;
	}
}
